<?php
/**
 * 缓存帮助类
 * User: Woozee
 * Date: 2021/1/27
 * Time: 23:09
 */

namespace App\Helpers;

use App\Enum\CacheTagEnum;
use Illuminate\Cache\TaggedCache;

class Cache
{
    public static function stock(): TaggedCache
    {
        return \Cache::tags([CacheTagEnum::STOCK]);
    }
}
